from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token

from apps.user import views

urlpatterns = [
    # 注册用户
    url(r'^users/$', views.UserCreateView.as_view()),
    # 登录认证
    url(r'^authorizations/$', obtain_jwt_token),

]